﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace ConsoleApp1
{
    class Student
    {
        public int number { get; set; }
        public string name { get; set; }
        public int age { get; set; }

        public Student(int number, string name, int age)
        {
            this.number = number;
            this.name = name;
            this.age = age;
        }
        public override string ToString()
        {
            return $"学号:{number},姓名:{name},年龄:{age}";
        }
    }
}
